Distance sensing by IQ domain differentiation of time of flight (TOF) measurements

ABSTRACT

A system and method for identifying a position of a moving object, regardless of static objects present in the optical field of an active infrared (IR) proximity detector, is provided. Moreover, a modulated light emitting diode (LED) signal is captured and processed through I/Q demodulation. Specifically, the reflections received at an IR sensor are demodulated to generate in-phase (I) and quadrature phase (Q) signals and the derivative of I/Q signals is obtained to isolate motion. For example, an I/Q domain differentiator or a high pass filter is employed to calculate the derivative, which actively remove the effects of all forms of static interference. Further, the phase of the derivative I/Q signals is determined and is utilized to reconstruct the distance at which the motion occurred.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. Provisional Patent ApplicationSer. No. 61/298,895, filed on Jan. 27, 2010, and entitled “ARCHITECTUREFOR A REFLECTION BASED LONG RANGE PROXIMITY AND MOTION DETECTOR HAVINGAN INTEGRATED AMBIENT LIGHT SENSOR,” the entirety of which isincorporated by reference herein. Further, this application is relatedto co-pending U.S. patent application Ser. No. 13/013,146, filed on Jan.25, 2011, entitled “DIRECT CURRENT (DC) CORRECTION CIRCUIT FOR A TIME OFFLIGHT (TOF) PHOTODIODE FRONT END,” co-pending U.S. patent applicationSer. No. 13/013,199, filed on Jan. 25, 2011, entitled “PHOTODIODE FRONTEND WITH IMPROVED POWER SUPPLY REJECTION RATIO (PSRR)”, co-pending U.S.patent application Ser. No. 13/013,173, filed on Jan. 25, 2011, entitled“AUTOMATIC ZERO CALIBRATION TECHNIQUE FOR TIME OF FLIGHT (TOF)TRANSCEIVERS,” co-pending U.S. patent application Ser. No. 13/013,640,filed on Jan. 25, 2011, entitled “SERIAL-CHAINING PROXIMITY SENSORS FORGESTURE RECOGNITION”, and co-pending U.S. patent application Ser. No.13/013,676, filed on Jan. 25, 2011, entitled “GESTURE RECOGNITION WITHPRINCIPAL COMPONENT ANALYSIS.” The entireties of each of the foregoingapplications are incorporated herein by reference.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary system for identifying a position of amoving object within the vision field of a long range proximitydetector, independent of static interference.

FIG. 2 illustrates an exemplary system that includes an IntegratedCircuit (IC) chip, which facilitates distance sensing by employing thephase response of an active infrared (IR) proximity sensor.

FIG. 3 illustrates an exemplary analog version system for I/Q derivativeprocessing in accordance with an aspect of the subject innovation.

FIG. 4 illustrates an exemplary analog version system for basic I/Qderivative processing with noise control in accordance with an aspect ofthe disclosed specification.

FIG. 5 illustrates an exemplary digital version system for I/Qderivative processing, according to an aspect of the subject disclosure.

FIG. 6 illustrates an exemplary enhanced digital version system for I/Qderivative processing that employs a variable sampling rate, accordingto an aspect of the subject innovation.

FIG. 7 illustrates an exemplary methodology that can discern distance atwhich motion occurred, by employing the phase response of an active IRproximity sensor.

FIG. 8 illustrates an exemplary functional block diagram for thearchitecture of the subject innovation.

DETAILED DESCRIPTION

A category of monolithic devices is emerging that allows electronicproducts to sense their environment. These include diverse devices, suchas, accelerometers, monolithic gyroscopes, light sensors and imagers. Inparticular, light sensors are one of the simplest and cheapest, allowingtheir inclusion in multitudes of consumer products, for example,nightlights, cameras, cell phones, laptops etc. Typically, light sensorscan be employed in a wide variety of applications related to proximitysensing, such as, but not limited to, detecting the presence and/ordistance of a user to the product for the purpose of controlling power,displays, or other interface options.

Infrared (IR) proximity detectors utilize IR light to detect objectswithin the sense area of the IR sensor. Moreover, IR light istransmitted by an IR Light emitting diode (LED) emitter, which reflectsoff of objects in the surrounding area and the reflections are sensed bya detector. Moreover, the detector can be a diode, e.g., a PIN diode,and/or any other type of apparatus that converts IR light into anelectric signal. The sensed signal is analyzed to determine whether anobject is present in the sense area. Some conventional systems transmita pulse of IR light and detect whether the pulse is returned back at thepin diode. However, these conventional systems easily get confused byexisting IR light in the world, e.g., ambient light, sunlight, etc. Inaddition, the conventional systems cannot differentiate betweenundesired reflections from static objects (e.g., chair, desk, soda can,etc.) and reflections from a desired object (e.g., a person, animal,etc.). Thus, to compensate for the existing IR light, the conventionalsystems measure the data twice; once when the IR transmitter is turnedON and an IR pulse is transmitted, and once when the IR transmitter isturned OFF. Moreover, the IR response is measured in the two cases andsubtracted. Performing these calculations can be a tedious and timeconsuming process. Additionally, the range of such conventionaldetectors is only about 10-30 centimeters (cm). Further, to overcome theeffects of the ambient light in a higher range, for example, range of20-30 cm, a high amount of power needs to be transmitted by the IR LED.

The systems and methods disclosed herein provide a novel signalprocessing scheme for an active long-range IR distance sensor. Forexample, the range of the disclosed IR distance sensor can be 1-2meters. In one aspect, the light emitted by the IR LED is modulated at ahigh frequency, for example 1 MHz-50 MHz. The received IR response isthen demodulated by employing Quadrature amplitude demodulator (I/Qdemodulation). Further, an I/Q domain differentiator or a high passfilter is utilized to actively remove the effects of all forms of staticinterference and the phase of the derivative of the I/Q signals isemployed to calculate a position of a moving object within the visionfield, independent of any static interference. It can be appreciatedthat although the subject specification is described with respect to IRlight, the systems and methods disclosed herein can utilize most anywavelength. As an example, the subject system and/or methodology can beemployed for acoustical proximity detection and/or ultrasonic rangefinding applications.

The subject matter is described with reference to the drawings, whereinlike reference numerals are used to refer to like elements throughout.In the following description, for purposes of explanation, numerousspecific details are set forth in order to provide a thoroughunderstanding of the subject innovation. It may be evident, however,that the subject matter may be practiced without these specific details.In other instances, well-known structures and devices are shown in blockdiagram form in order to facilitate describing the subject innovation.Of course, those skilled in the art will recognize that manymodifications may be made to this configuration without departing fromthe scope or spirit of the claimed subject matter.

Moreover, the word “exemplary” is used herein to mean serving as anexample, instance, or illustration. Any aspect or design describedherein as “exemplary” is not necessarily to be construed as preferred oradvantageous over other aspects or designs. Rather, use of the word“exemplary” is intended to present concepts in a concrete fashion. Asused in this application, the term “or” is intended to mean an inclusive“or” rather than an exclusive “or”. That is, unless specified otherwise,or clear from context, “X employs A or B” is intended to mean any of thenatural inclusive permutations. That is, if X employs A; X employs B; orX employs both A and B, then “X employs A or B” is satisfied under anyof the foregoing instances. In addition, the articles “a” and “an” asused in this application and the appended claims should generally beconstrued to mean “one or more” unless specified otherwise or clear fromcontext to be directed to a singular form. In addition, the word“coupled” is used herein to mean direct or indirect electrical ormechanical coupling. Further, the terms “sense area,” “vision field,”“optical field,” and similar terminology are utilized interchangeably inthe subject application, unless context warrants particulardistinction(s) among the terms.

Referring to FIG. 1, there illustrated is an example system 100 foridentifying a position of a moving object within the vision field of along range proximity detector, independent of static interference, inaccordance with an aspect of the subject disclosure. In general, system100 can be employed in most any light sensing application. For example,a laptop or personal computer can power-up (e.g., from hibernation,stand-by, etc.) on detecting that a user has entered a room. In anotherexample, a cell phone or personal digital assistant (PDA) can switch offa display (to conserve battery life) when detected that the phone/PDA isheld at the user's ear.

In one aspect, system 100 for proximity sensing based upon IR signaldetection employs an IR LED 102 and an IR sensor 104. For example, thesystem 100 can employ a high frequency (e.g., 5 MHz) modulated LED 102and a tuned PIN detector 104 to optimize the detection range. Moreover,most any frequency modulator 106 can be employed to modulate a signalinput to the IR LED 102. As an example, the IR LED 102 has a typicalpeak wavelength that matches the proximity sensor spectrum, a narrowviewing angle with higher radiant intensity that can facilitateconcentrating the energy that is ideal for proximity sensing. It can beappreciated that most any IR LED (or array) can be employed based on thefactors, such as, but not limited to, view-angle, mechanic height,footprint, radiant intensity, current consumption, etc. Further, the IRLED 102 can emit the modulated IR signal 108 to the sensing object 110,and the IR sensor 104 can receive a portion 112 of the transmittedsignal, which is reflected back from the surface of sensing object 110.The object 110 can be most any entity of interest, such as, but notlimited to, a human entity, an automated component, a device, an item,an animal, etc.

Typically, the magnitude of the reflections 112 depend on the size ofthe object 110, the color of the object 110 and the distance of theobject 110 from the IR sensor 104. As an example, a white shirt canproduce higher reflections than a black shirt. In addition to thereflections 112 from the object 110, the sensor 104 can receive variousother signals 114, such as, but not limited to, electrical crosstalk,optical crosstalk and/or environmental backscatter. Each of thesesignals represents interference to the detection of the object ofinterest. Of these interferences, electrical and optical crosstalk canbe approximated to be relatively constant through the life time of thedevice, and can be calibrated at the manufacturing or development stageof the application. Environmental backscatter 114 can be received fromvarious sources in the optical field of the sensor 104, and can includemost any signal that is not of interest to the detection of the object110. For example, objects such as a desk surface, a couch, a televisiondisplay, a soda can, etc., are not useful targets, but are detected as asignificant component of the signal received at the sensor 104. In oneembodiment, system 100 ignores the environmental backscatter signals andisolates the signals 112 from the object 110 to identify the proximityof the object 110 from the sensor 104.

According to an aspect, system 100 utilizes Time-of-Flight (TOF)measurements, which rely on the finite speed of light. The finite speedcauses a delay between the projection of an electromagnetic wave and itsreflection from an object, which is proportional to the distance of theobject. In system 100, the distance can be measured as a phase delay ofa modulated (e.g., at 5 MHz) IR LED signal. Moreover, reflected signalis amplified and demodulated using two orthogonal carrier waves by theI/Q demodulator 116. An automatic gain control loop maintains the signalin the dynamic range of the A/D converters. The system 100 captures thereal and imaginary component of the reflected signal, which can then beprocessed to give a phase and amplitude of the signal. Components addlinearly in the I/Q domain, and therefore calibration can be performedin the linear space itself.

According to an embodiment an I/Q differentiator 118 can calculate thederivative of the I and Q signals respectively. Moreover, the I/Qdifferentiator 118 actively removes the effects of all forms of staticinterference received at the sensor 104. Further, the phase delay of theobject 110 in the sensor field is preserved in the derivative of thereceived signal when represented in I/Q space. Static interference caninclude, but is not limited to, ambient light, unwanted reflections fromstatic objects, etc. Accordingly, the phase detectors 120 can utilizethe derivative of the I and Q components of a complex signal and extractthe phase at which the motion occurred by utilizing the relationshipbetween amplitude and phase. In one example the phase detector 120 candetermine the phase of the primary I/Q channel and the phase of thederivate I/Q channel.

It can be appreciated that the mechanical design of system 100 caninclude different component selections, component placement, dimensions,glass cover characteristics, LED selections, isolation techniquesbetween sensor 104 and LED 102, etc., to achieve an optimal proximitysensing. Further, it can be appreciated that the frequency modulator106, I/Q demodulator 116, I/Q differentiator 118, and the phasedetectors 120, can include most any electrical circuit(s) that caninclude components and circuitry elements of any suitable value in orderto implement the embodiments of the subject innovation. Furthermore, thefrequency modulator 106, I/Q demodulator 116, I/Q differentiator 118,and the phase detectors 120, can be implemented on one or moreintegrated circuit (IC) chips. Typically, various IR bands can beemployed in imaging systems (e.g., Near IR, Mid-Wave IR and Long-WaveIR). Each band can have unique LEDs and Sensors. Oftentimes, somevisible detector systems can work in the Near IR band and can includethe detector integrated into the system IC. In addition, it can beappreciated that system 100 is not limited to utilizing IR light, andLEDs/sensors/detectors can utilize signals of most any wavelength.

Referring now to FIG. 2, there illustrated an example system 200 thatincludes an IC chip 202, which facilitates distance sensing, accordingto an aspect of the subject specification. Traditionally, distancesensing is inherently limited in its ability to capture the distance toa desired object under the presence of other objects in the opticalfield. However, system 200 extracts distance of moving objects, allowingaccurate distance measurements in suboptimal optical environments.Moreover, IC 202 can be employed as a primary distance monitoring systemand/or as a means to calibrate a traditional system. Specifically, IC202 includes an I/Q demodulation circuit 204, I/Q differentiationcircuit 206, and phase detection circuit 208, which employ thederivative of the I and Q components of a complex signal and extract thephase at which the motion occurred using the relationship betweenamplitude and phase. This allows background reflections from staticobjects to be ignored, isolating the moving target.

It can be appreciated that the I/Q demodulation circuit 204, I/Qdifferentiation circuit 206, and the phase detection circuit 208 can besubstantially similar to demodulator 116, I/Q differentiator 118, andthe phase detectors 120, and can include functionality, as more fullydescribed herein, for example, with regard to system 100. Further,although a single IC chip (202) is illustrated in FIG. 2, it can beappreciated that multiple ICs can be employed to implement system 200.

The active IR proximity detector, disclosed herein, employs an IR LEDemitter to transmit IR light, which reflects off of objects in the sensearea and the reflections from the objects are sensed by a detector,e.g., a pin diode. IC 202 can analyze the sensed signal to determinemotion of an object (e.g., user) in the sense area. The magnitude of thesensed signal is a function of the color, size and distance of theobject. However, the phase of the returned signal depends only on thedistance of the object from the sensor. As an example, the signalreceived by the sensor can be amplified and/or filtered, and thenprovided as input to the I/Q demodulation circuit 204 to facilitateidentification of the phase of the sensed signal. Moreover, the IRsensor can include a filter that omits visible ambient light signalswhile transmitting only desired IR signals to the detector.

The I/Q demodulation circuit 204 demodulates the input signal along twodifferent axes that are perpendicular to each other. For example, theI/Q demodulation circuit 204 can demodulate the input signal with a sinewave at zero degrees to provide the I (in-phase) channel and demodulatethe input signal with another sine wave at 90 degrees to provide the Q(quadrature-phase) channel. The I and Q signals output by the I/Qdemodulation circuit 204 form a vector indicating the phase of the inputsignal.

Further, the I/Q differentiation circuit 206 can be employed tocalculate the derivative of the I and Q signals. Typically, backscatter(e.g., 114) present in the received signal can cause an error inproximity measurement. However, the reflections introduced due tobackscatter are constant and thus by taking the derivative of the I andQ signals, the constant reflections caused by the backscatter can beeliminated by the I/Q differentiation circuit 206. In addition, thephase determination circuit 208 can calculate the phase of the objectsmoving in the field of the sensor, by employing a vector formed by thederivative of the I and Q channels. The phase can be employed to detectthe position at which a motion occurred, regardless of other objects inthe optical field. In an aspect, the resultant phase information can beutilized as a direct output of the system as a measure of distance,and/or can be utilized to reconstruct a static component of the signaland allow the calibration of a non-derivative TOF measurement.

The following equations and analysis explain the working of system 200and result of the analysis below demonstrates that the position at whicha motion occurred can be identified by observing the phase of thederivative of an incoming reflected signal: Consider a general complexsignal x. This signal can be seen as a vector in the complex plane, withsome DC (direct current) value x₀, and some time varying signal x_(s) ofinterest imposed on it.x _(s) =x−x ₀  (1)x_(s) can be expressed in terms of its magnitude (A_(s)) and phasecomponents (φ) as follows:A _(s) =|x _(s) =|x−x ₀|  (2)φ=angle(x _(s))=angle(x−x ₀)  (3)Or equivalently,x _(s) =x−x ₀ =A _(s) e ^(jφ)  (4)Wherein j=√{square root over (−1)},The derivative of the above expression with respect to time (t) is asfollows:

$\begin{matrix}{\frac{\delta\; x}{\delta\; t} = {\left( {\frac{\delta\; A_{s}}{\delta\; t} + {j\; A_{s}\frac{\delta\;\varphi}{\delta\; t}}} \right){\mathbb{e}}^{j\varphi}}} & (5)\end{matrix}$

Assuming A_(s) is only a function of φ, e.g., that there is a one to onemapping of phase and magnitude that the signal of interest x_(s) cantake. This simplifies Equation (5) to the following:

$\begin{matrix}{\frac{\delta\; x}{\delta\; t} = {\frac{\delta\;\varphi}{\delta\; t}\left( {\frac{\delta\; A_{s}}{\delta\;\varphi} + {j\; A_{s}}} \right){\mathbb{e}}^{j\varphi}}} & (6)\end{matrix}$Or in phasor notation,

$\begin{matrix}{\frac{\delta\; x}{\delta\; t} = {\left( {\frac{\delta\;\varphi}{\delta\; t}\sqrt{\left( \frac{\delta\; A_{s}}{\delta\;\varphi} \right)^{2} + A_{s}^{2}}} \right){\mathbb{e}}^{j{({\varphi + {\theta{(\varphi)}}})}}}} & (7) \\{{\theta(\varphi)} = {\tan^{- 1}\left( \frac{A_{s}(\varphi)}{\delta\;{A_{s}/\delta}\;\varphi} \right)}} & (8)\end{matrix}$Based on this expression, the phase of the derivative of the signal xcan be expressed as:

$\begin{matrix}{{\angle\frac{\delta\; x}{\delta\; t}} = {{\varphi(t)} + {\theta\left( {\varphi(t)} \right)}}} & (9)\end{matrix}$Wherein, φ(t) is the angle of the original signal, and θ(φ) is a phasedistortion term.

The phase distortion term θ(φ) is the additional phase added onto thephase of the original signal. As an example, if this value were toalways be zero, the phase of the original signal can be recovered veryeasily. However, in real systems the phase distortion value is afunction of the phase of the signal φ, and this relationship isdetermined by the relationship of the signal's magnitude and phase, asshown in Equation (8). Another approach to depict this relationship isthe following:

$\begin{matrix}{\theta \approx {\tan^{- 1}\left( {\Delta\;\varphi\frac{A_{s}}{\Delta\; A_{s}}} \right)}} & (10)\end{matrix}$The above depicts that the phase is related to both the change in phase,and the percent change in amplitude. The following examples illustratehow this term behaves.

(i) Magnitude Change: When there is a change in magnitude with no changein phase of the signal, the phase distortion term is dominated byΔA₂>>Δφ. Thus the phase distortion term is:

θ=lim_(x→0) tan⁻¹(x)=0, if A_(s) increases

-   -   π, if A _(s) decreases

(ii) Phase Change: Conversely, when there is a change in phase with nochange in magnitude of the signal, the phase distortion term isdominated by Δφ>>ΔA₂. Thus the phase distortion term is:

θ=lim_(x→0) tan⁻¹(1/x)=π/2, if φ increases

-   -   −π/2, if φ decreases

To determine how the phase distortion term behaves in an active IRTime-of-Flight (TOF) sensing system (e.g., system 200), themagnitude-phase relationship for an optical signal reflected by anobject in the system is identified. The amplitude of the optical signalis dependent on the color, material, and size of the target (e.g.,object), but has an inverse square law dependence to distance, r, (e.g.,distance travelled by the light) as long as these parameters do notchange.A _(s) =f(color,material,size)/r ²  (11)The phase (φ) of the signal is proportional to the distance and can becalculated as:φ=φ₀ +kr  12)Wherein, φ₀ is a phase offset due to the lack of absolute phasereference and k is a constant.From Equations (11) and (12), the following can be determined:

$\begin{matrix}\begin{matrix}{{A_{s}(\varphi)} = {{f\left( {{color},{material},{size}} \right)}{k^{2}/\left( {k^{2}r^{2}} \right)}}} \\{= {A_{0}/\left( {\varphi - \varphi_{0}} \right)^{2}}}\end{matrix} & (13)\end{matrix}$Wherein A₀=f (color, material, size)k²This relationship can be utilized to determine the phase distortion termas a function of phase:

$\begin{matrix}\begin{matrix}{\frac{\delta\; A_{s}}{\delta\;\varphi} = {\frac{\delta\;}{\delta\;\varphi}\frac{A_{0}}{\left( {\varphi - \varphi_{0}} \right)^{2}}}} \\{= {{- 2}\frac{A_{0}}{\left( {\varphi - \varphi_{0}} \right)^{3}}}} \\{= {\frac{- 2}{\left( {\varphi - \varphi_{0}} \right)}{A_{s}(\varphi)}}}\end{matrix} & (14) \\{{{\theta(\varphi)} = {\tan^{- 1}\left( \frac{A_{s}(\varphi)}{{- 2}{{A_{s}(\varphi)}/\left( {\varphi - \varphi_{0}} \right)}} \right)}}{{\theta(\varphi)} = {\tan^{- 1}\left( \frac{- \left( {\varphi - \varphi_{0}} \right)}{2} \right)}}} & (15)\end{matrix}$Applying the small angle approximation,θ(φ)≈−(φ−φ₀)/2  (16)

Based on the phase of the derivative as derived in Equation (9), it canbe identified that:

$\begin{matrix}\begin{matrix}{{\angle\frac{\delta\; x}{\delta\; t}} = {\varphi + \frac{- \left( {\varphi - \varphi_{0}} \right)}{2}}} \\{= {\frac{\varphi}{2} + \frac{\varphi_{0}}{2}}}\end{matrix} & (17)\end{matrix}$The above depicts that the phase of the derivative of a complex vectorunder a square law dependence of magnitude versus phase can beapproximated as the same phase offset as the original signal plus halfof the dynamic portion of the signal. Or in terms of distance,

$\begin{matrix}{{\angle\frac{\delta\; x}{\delta\; t}} = {\varphi_{0} + \frac{{kr}(t)}{2}}} & (18)\end{matrix}$The above result illustrates that the position at which a motionoccurred can be determined by observing the phase (e.g., by employingthe phase determination circuit 208) of the derivative of an incomingreflected signal. Further, since the derivative is obtained (e.g., bythe I/Q differentiation circuit 206), any static objects in the sensorfield are ignored in the measurement.

Referring back to the amplitude of the derivative, from Equations (7)and (14),

$\begin{matrix}{{\frac{\delta\; x}{\delta\; t}} = {\frac{\delta\;\varphi}{\delta\; t}\sqrt{\left( \frac{\delta\; A_{s}}{\delta\;\varphi} \right)^{2} + A_{s}^{2}}}} \\{= {\frac{\delta\;\varphi}{\delta\; t}\sqrt{\left( {\frac{- 2}{\left( {\varphi - \varphi_{0}} \right)}\; A_{s}} \right)^{2} + A_{s}^{2}}}} \\{= {\frac{\delta\;\varphi}{\delta\; t}A_{s}\sqrt{\left( \frac{- 2}{\left( {\varphi - \varphi_{0}} \right)}\; \right)^{2} + 1}}}\end{matrix}$The expression φ−φ₀ is small, and therefore dominates.

$\begin{matrix}{{{\frac{\delta\; x}{\delta\; t}} \approx {\frac{\delta\;\varphi}{\delta\; t}A_{s}\frac{2}{\left( {\varphi - \varphi_{0}} \right)}}} = {\frac{\delta\;\varphi}{\delta\; t}\frac{A_{0}}{\left( {\varphi - \varphi_{0}} \right)^{2}}\frac{2}{\left( {\varphi - \varphi_{0}} \right)}}} \\{= {\frac{\delta\;\varphi}{\delta\; t}\frac{2A_{0}}{\left( {\varphi - \varphi_{0}} \right)^{3}}}}\end{matrix}$Equivalently, in terms of distance r,

$\begin{matrix}{{\frac{\delta\; x}{\delta\; t}} \approx {\frac{\delta\; r}{\delta\; t}\frac{2A_{0}}{k^{2}r^{3}}}} & (19)\end{matrix}$Thus, it can be concluded that the amplitude of the derivative isproportional to the speed and inversely proportional to the cube of thedistance.

Now referring back to FIG. 2, system 200 can be utilized to calculatethe amplitude and phase of the derivative of the received signal tofacilitate computing the distance of the object based at least on theabove equations. In one aspect, the gain and/or sampling rate of thedifferentiation circuit 206 is appropriately set for the speed of themotion. Moreover, the change in the signal can be within the dynamicrange of the system under the environmental backscatter. The dynamicrange is reduced by the static environmental backscatter, as theautomatic gain control can respond to the static environmentalbackscatter and/or the motion.

FIG. 3 illustrates an example block diagram 300 that depicts an analogversion system for I/Q derivative processing in accordance with anaspect of the subject innovation. The I and Q signals obtained afterdemodulation (e.g., by the I/Q demodulation circuit 204) can be providedto the phase determination circuit 208. Further, the derivative of the Iand Q signals obtained by the I/Q differentiation circuit 206, can alsobe provided to the phase determination circuit 208.

In one aspect, the dv/dt blocks (302, 304) include most any electroniccircuit that can calculate the derivative of the I and Q signals withrespect to time. In addition, the A tan 2(I, Q) blocks (306, 308)include most any electronic circuit that can calculate the phase of theprimary channel (φ₀) and the phase of the derivative channel (φ_(diff))based on the input received from the I/Q demodulation circuit 204 andthe I/Q differentiation circuit 206. The phase of the derivativechannel, φ_(diff), is equivalent to (1-1/N)φ₀, wherein amplitudeA(x)=A₀/R^(N). Typically, N=2 (square law attenuation with distance), soangle φ_(diff) is half of the primary (normally measured delay phase)channel. Moreover, the phase information output by the phasedetermination circuit 208 can facilitate determining information relatedto the position of the most recent motion. This new information can beused both as a stand alone measurement, and/or as an additionalcalibration scheme.

Referring to FIG. 4, there illustrated is an example analog versionsystem 400 for basic I/Q derivative processing with noise control inaccordance with an aspect of the disclosed specification. It can beappreciated that the I/Q differentiation circuit 206, and the phasedetection circuit 208 can include functionality, as more fully describedherein, for example, with regard to system 200 and 300. Typically, incontinuous time, derivatives can be very noisy. To overcome thisproblem, the I/Q differentiation circuit 206 can include a ‘bandlimited’derivative, wherein the derivative dv/dt (302, 304) is followed by a lowpass filter (LPF) (402, 404) to control noise in the system.

FIG. 5 illustrates an example digital version system 500 for I/Qderivative processing, according to an aspect of the subject disclosure.Typically, most any analog-to-digital converters (ADCs) (not shown) canbe employed to obtain the digital signals for I and Q respectively.According to an embodiment, I/Q differentiation circuit 206 can includemodules 502, 504, which subtract from a current value of a signal, adelayed value of the signal. Although a unit delay (Z⁻¹) is illustratedin modules 502, 504, it can be appreciated that most any value delay canbe utilized. The digital implementation of system 500 provides the sameresult for phase as the analog systems 300 and/or 400, but updates areat the digital clock times. Moreover, the Digital Clock determines‘bandwidth’ of the discrete derivative.

Referring now to FIG. 6, there illustrated is example enhanced digitalversion system 600 for I/Q derivative processing that employs a variablesampling rate, according to an aspect of the subject innovation. Thevariable sampling time differentiator consists of a simple firstdifference that is asynchronously clocked by a trigger signal. Thistrigger signal is generated when the output of the first differencereaches a certain condition that assures a valid signal to noise ratio.Additional signal processing can be triggered off of this trigger signalto allow back end processing. This scheme allows the system 600 to besensitive to all ranges of speeds.

In discrete time, significant noise can be observed during subtractionof the delayed value from the current value (of I and Q signals).Moreover, the differences are very small for normal clock frequenciesand analog (sampling) noise still exists within the signal. In thiscase, the clock rate can be modified to allow for larger differences toaccumulate before the phase calculation is made.

The I/Q differentiation circuit 206 in system 600 updates the differenceequation only if the difference is large enough. This limits the ‘smalldifference’ problem and results in a variable clock rate relative tostandard digital implementation. In particular, a magnitude component602 calculates the difference between the magnitude of a current anddelayed value of the I and Q signals respectively. Further, comparator604 compares the magnitudes with a threshold value 606. As an example,the threshold value 606 can be most any value set by a user to tradeoffbetween noise and update rate, and/or can be dynamically adjusted. Inanother example, the threshold is set only slightly above the noisefloor of the I/Q channels so that a full benefit of the signal-to-noiseratio (SNR) of the system can be obtained. Moreover, the digital clocktakes a new sample only if the change (e.g., difference between acurrent and delayed value) exceeds the threshold 606. Thus, system 600guarantees the differences to be at least as large as the threshold 606.

The difference modules 502, 504 can include a basic finite differencedifferentiator of the following form:H(z ⁻¹)=1−z ^(−k)h[n]=x[n]−x[n−k]If the parameter k is changed, the effective gain and/or sampling timeof the differentiator can be changed. Since the magnitude of thederivative signals are not require for proximity determination, thisgain can be modified without impacting downstream signal processing.Thus, k can be varied to dynamically change the gain of thedifferentiator (e.g., module 502, 504). As discussed supra, thedifferentiator (module 502, 504) takes a single sample, and waits untila signal that is significantly different from the sample, is received.Once the differentiator (module 502, 504) receives a signal that is oflarge enough difference to the original, the next sample is taken, forexample, based on clock input from the comparator 604. System 600 can bemodeled either as a variable length difference differentiator, or avariable sampling time first difference differentiator.

In one aspect, the triggering condition can be computed and tuned tooptimize speed, accuracy, and SNR. The trigger signal that comes out ofthe comparator 604 controls the sampling of the differentiator and canalso be used to clock any subsequent filtering and/or any other signalprocessing. This provides an asynchronous system capable of optimallyshifting its gain and sampling rate that benefits from the simplicity ofa synchronous signal processing system.

FIG. 7 illustrates a methodology and/or flow diagram in accordance withthe disclosed subject matter. For simplicity of explanation, themethodologies are depicted and described as a series of acts. It is tobe understood and appreciated that the subject innovation is not limitedby the acts illustrated and/or by the order of acts, for example actscan occur in various orders and/or concurrently, and with other acts notpresented and described herein. Furthermore, not all illustrated actsmay be required to implement the methodologies in accordance with thedisclosed subject matter. In addition, those skilled in the art willunderstand and appreciate that the methodologies could alternatively berepresented as a series of interrelated states via a state diagram orevents. Additionally, it should be further appreciated that themethodologies disclosed hereinafter and throughout this specificationare capable of being stored on an article of manufacture to facilitatetransporting and transferring such methodologies to computers. The termarticle of manufacture, as used herein, is intended to encompass acomputer program accessible from any computer-readable device orcomputer-readable storage/communications media.

FIG. 7 illustrates an example methodology 700 that can discern distanceat which motion occurred, by employing the phase response of an activeIR proximity sensor, while ignoring the backscatter effects of stillobjects in the field of view of the sensor. Typically, methodology 700can be utilized in various applications, such as, but not limited toconsumer electronic devices (e.g., cell phones, laptops, media players,gaming systems, night-vision systems, etc.), mechanical systems (e.g.,door/window mechanism), industrial automation systems, robotics, etc.

At 702, a signal, for example, input to an IR LED, can be modulated at ahigh frequency (e.g., 1 MHz-50 MHz). As an example, most any frequencymodulation technique can be employed for modulation. At 704, themodulated signal can be emitted by the IR LED. Typically, the range ofthe IR LED can be selected based on the application (e.g., 1-2 meters).The emitted IR signal is reflected back from objects (moving and/orstationary) within the optical field and the reflected signals can bereceived at an IR sensor, along with ambient light (e.g., sunlight,florescent lights, lamps, bulbs, etc.). At 706, the signal is receivedfrom the sensor and at 708 the signal can be demodulated, amplifiedand/or filtered. Typically, I/Q demodulation can be performed on thereceived signal. Moreover, the received signal is demodulated along twoperpendicular axes to generate I and Q signals.

Further, at 710 a derivative of the I and Q signals can be determined,for example, by utilizing an I/Q domain differentiation or a high passfilter. Moreover, the differentiation removes the effects of all formsof static interference (e.g., ambient light and/or reflections fromstationary objects). Furthermore, at 712, the phase of the derivative ofthe I and Q signals can be obtained. At 714, the phase data can beemployed to identify position of motion within the vision field,independent of any static interference.

In order to provide additional context for various aspects of thesubject specification, FIG. 8 illustrates an exemplary functional blockdiagram for the architecture 800 of the subject innovation. In oneaspect, the systems (e.g., 300-600) disclosed herein can be employed ina reflection based proximity and motion detector with an integratedambient light sensor (ALS) depicted in FIG. 8. The architecture 800includes a LED and associated driver circuitry, a photodiode sensor, ananalog front end and signal processing, data conversion circuitry,digital control and signal processing, interface circuitry and resultsdisplay. The architecture 800 adaptively optimizes sensitivity and powerfor a given environment. Moreover, the architecture 800 derivessignificant performance improvements from its novel ALS structure, andits light emitting diode (LED) driver circuitry is much more efficientthan the conventional resistive drive.

According to an aspect of the subject innovation, the architecture 800includes a Resonant Front End 802, which includes a Trans-ImpedanceResonator (TIR). In the architecture 800, the TIR 802 is used in placeof the Trans-Inductance Amplifier (TIA), which is conventionally used.Although the TIR 802 plays the same role as a conventional TIA, the TIR802 gives an order of magnitude improvement in achievableSignal-to-Noise-Ratio (SNR) due to its band-pass nature (e.g., TIR 802includes an inductor and a capacitor), which allows for an increasedrange of sensing. One of ordinary skill in the art will appreciate thatthe capacitor of the TIR can include the capacitance of the photodiodethat is being resonated. The band-pass nature of the TIR 802 causes thearchitecture 800 to operate over a narrow band of frequencies, whichallows for little noise compared to the wide band TIA.

According to another aspect of the subject innovation, the novel AmbientLight Sensor (ALS) 810 uses a light to frequency converter based on arelaxation oscillator instead of the conventional TIA. A relaxationoscillator is an oscillator based upon the relaxation behavior of aphysical system. An exemplary implementation for the relaxationoscillator of the subject innovation can be done by connecting theinverting input of an Operational Amplifier (Op Amp) to a fixed biasvoltage via a switch and also the photodiode, with the non-invertinginput connected to ground. When the switch to the fixed bias voltage isopened, the photodiode will discharge towards ground. The rate ofdischarge will depend on the photodiode current, which is a measure ofthe incident ambient light. When the photodiode is discharged to ground,the Computer Programmable Logic Device (CPLD) resets the oscillator byswitching back in the bias voltage. The CPLD counts the number of cyclesthat the photodiode takes to discharge, and thus can estimate theambient light intensity incident on the photodiode. The ALS 810 can beused for ambient light sensing applications and the TIR 802 can be usedfor proximity and motion sensing applications.

The output of the Front End 802 is subjected to multiple stages ofvoltage gain 816 to maximize the SNR of the output signal. The voltagegain is adaptively set based on the magnitude of the signal receivedfrom the Front End 802, which is potentially made up of both measureableinterferers such as a backscatter and a crosstalk from the LED, and alsothe desired signal to be measured. The interferers are dynamicallycalibrated out of the measurement to improve the sensitivity. Accordingto another aspect of the subject innovation, the LED drive circuitry 856uses an inductive drive, which results in a significant efficiencyimprovement over the conventional resistive drive.

The architecture 800 also includes a Quad Demodulator (e.g., I/Qdemodulator 116, I/Q demodulation circuit 204) with low pass filters(LPFs) 820, dual [I & Q] Analog to Digital Converters (ADCs) 826,Digital to Analog Converters (DACs) 830 driven by the bias voltageprovided by the Automatic Gain Control module, Oscillator DACs 844 for Iand Q carriers, the Universal Serial Bus (USB) processor for ControlInterface, and the Computer Programmable Logic Device (CPLD) thatinclude several modules. One of ordinary skill in the art willappreciate that I and Q relate to In-Phase and Quadrature demodulationcomponents.

QAM is both an analog and a digital modulation scheme. Moreover, QAM isa modulation scheme in which two sinusoidal carriers, one exactly 90degrees out of phase with respect to the other, are used to transmitdata over a given physical channel. Since the orthogonal carriers occupythe same frequency band and differ by a 90 degree phase shift, each canbe modulated independently, transmitted over the same frequency band,and separated by demodulation at the receiver. Thus, QAM enables datatransmission at twice the rate of standard pulse amplitude modulation(PAM) without any degradation in the bit error rate (BER). In oneexample a numerically controlled oscillator (NCO) can be employed todesign a dual-output oscillator that accurately generates the in-phaseand quadrature carriers used by a QAM modulator and/or demodulator. Afilter, for example, a raised cosine finite impulse response (FIR)filter can be utilized to filter the data streams before modulation ontothe quadrature carriers.

The in-phase and quadrature demodulated components are created bymultiplying the signal by both a carrier signal, and also a signal 90degrees out of phase of that carrier, and low pass filtering the result(820 in FIG. 8). The resultant I and Q are a baseband representation ofthe received signal. Moreover, as described more fully herein withrespect to systems 100-600, the phase of the derivative of the I and Qchannels can be obtained, which is indicative of the distance of thetarget to be calculated. In one example, the I/Q differentiation circuit206 can generate the derivative of the I and Q components and the phasedetermination circuit 208 can determine phase of the derivate I and Qcomponents. Further, the position of a moving object can be accuratelyidentified based on the phase data. Typically, the resultant phaseinformation can be used as a direct output of the system as a measure ofdistance/position, and/or can be used to reconstruct the staticcomponent of the signal and allow the calibration of a non-derivativeTOF measurement.

The architecture 800 of the subject innovation can be used in manyapplications including computers, automotive, industrial, televisiondisplays and others. For example, the architecture 800 can be used todetect that a user has entered the room and automatically cause a laptopcomputer in hibernation mode to wake up and enter into the active modeso that the user can use it. In another example, the architecture 800 ofthe subject innovation can be used to automatically and adaptivelyadjust the intensity of a liquid crystal display (LCD) based on theambient lighting conditions. According to an aspect of the subjectinnovation, the architecture 800 can perform motion and proximitysensing at a range of up to 1-2 meters. According to another aspect ofthe subject innovation, the architecture 800 of the subject innovationcan perform its operations by using less than twenty milli-watts (mW) ofpower.

In one embodiment of the subject innovation, the entire architecture 800can be implemented in a single integrated circuit chip (IC). In anotherembodiment of the subject innovation, all components of the architecture800 can be implemented in the IC except for the two inductors for theTIR 802 and the LED driver circuitry 856 and the LED, which can beimplemented outside the IC. In yet another embodiment of the subjectinnovation, all components of the architecture 800 can be implemented inthe IC except for the TIR 802 inductor, the LED and the inductor and theresistor for the LED driver circuitry, which can be implemented outsidethe IC. In still another embodiment of the subject innovation, variouscomponents of the architecture 800 can be located inside or outside theIC.

What has been described above includes examples of the subjectinnovation. It is, of course, not possible to describe every conceivablecombination of components or methodologies for purposes of describingthe claimed subject matter, but one of ordinary skill in the art mayrecognize that many further combinations and permutations of the subjectinnovation are possible. Accordingly, the claimed subject matter isintended to embrace all such alterations, modifications, and variationsthat fall within the spirit and scope of the appended claims.

In particular and in regard to the various functions performed by theabove described components, devices, circuits, systems and the like, theterms (including a reference to a “means”) used to describe suchcomponents are intended to correspond, unless otherwise indicated, toany component which performs the specified function of the describedcomponent (e.g., a functional equivalent), even though not structurallyequivalent to the disclosed structure, which performs the function inthe herein illustrated exemplary aspects of the claimed subject matter.In this regard, it will also be recognized that the innovation includesa system as well as a computer-readable medium havingcomputer-executable instructions for performing the acts and/or eventsof the various methods of the claimed subject matter.

The aforementioned systems/circuits/modules have been described withrespect to interaction between several components. It can be appreciatedthat such systems/circuits/modules and components can include thosecomponents or specified sub-components, some of the specified componentsor sub-components, and/or additional components, and according tovarious permutations and combinations of the foregoing. Sub-componentscan also be implemented as components communicatively coupled to othercomponents rather than included within parent components (hierarchical).Additionally, it should be noted that one or more components may becombined into a single component providing aggregate functionality ordivided into several separate sub-components, and any one or more middlelayers, such as a management layer, may be provided to communicativelycouple to such sub-components in order to provide integratedfunctionality. Any components described herein may also interact withone or more other components not specifically described herein butgenerally known by those of skill in the art.

In addition, while a particular feature of the subject innovation mayhave been disclosed with respect to only one of several implementations,such feature may be combined with one or more other features of theother implementations as may be desired and advantageous for any givenor particular application. Furthermore, to the extent that the terms“includes,” “including,” “has,” “contains,” variants thereof, and othersimilar words are used in either the detailed description or the claims,these terms are intended to be inclusive in a manner similar to the term“comprising” as an open transition word without precluding anyadditional or other elements.

What is claimed is:
 1. A method for use with a system that includes anoptical sensor and that is configured to determine at least one of adistance or presence of one or more moving objects relative to theoptical sensor, the method comprising: (a) driving a light emittingelement with a drive signal to thereby cause a light signal to beemitted; (b) producing a sensor signal that is indicative of a portionof the light signal that reflects from one or more objects and isincident on the optical sensor; (c) performing quadrature demodulationof the sensor signal to produce in-phase (I) and quadrature phase (Q)signals; (d) determining derivatives of the in-phase (I) andquadrature-phase (Q) signals; and (e) determining a phase of thederivatives of the in-phase (I) and quadrature-phase (Q) signals.
 2. Themethod of claim 1, wherein when there are one or more moving objects andone or more static objects within a sensor field of the optical sensor:the sensor signal produced at step (b) and the in-phase (I) andquadrature-phase (Q) signals produced at step (c) are indicative of bothreflections from the one or more moving objects and reflections from theone or more static objects within the sensor field of the opticalsensor; and the derivatives of the in-phase (I) and quadrature-phase (Q)signals determined at step (d) are indicative of the reflections fromthe one or more moving objects and are generally not indicative of thereflections from the one or more static objects within the sensor fieldof the optical sensor.
 3. The method of claim 1, further comprising: (f)using the phase of the derivatives of the in-phase (I) andquadrature-phase (Q) signals to determine at least one of a distance orpresence of one or more moving objects within a sensor field of theoptical sensor.
 4. The method of claim 1, further comprising: (f) usingthe phase of the derivatives of the in-phase (I) and quadrature-phase(Q) signals to calibrate the system with which the method is being used,thereby enabling the system to determine at least one of a distance orpresence of one or more moving objects within a sensor field of theoptical sensor based on non-differentiated in-phase (I) andquadrature-phase (Q) signals in a manner that compensates for one ormore static objects within the sensor field of the optical sensor. 5.The method of claim 1, wherein: step (d) is performed using analogcircuitry configured to determine derivatives of the in-phase (I) andquadrature-phase (Q) signals.
 6. The method of claim 5, wherein: step(d) includes low pass filtering outputs of the analog circuitryconfigured to determine derivatives of the in-phase (I) andquadrature-phase (Q) signals to thereby filter out at least some noiseintroduced by the analog circuitry.
 7. The method of claim 1, whereinstep (d) includes: (d.1) converting the in-phase (I) andquadrature-phase (Q) signals produced at step (c) into digital in-phase(I) and quadrature-phase (Q) signals, respectively; (d.2) determiningthe derivative of the digital in-phase (I) signal by subtracting adelayed value of the digital in-phase (I) signal from a current value ofthe digital in-phase (I) signal; and (d.3) determining the derivative ofthe digital quadrature-phase (Q) signal by subtracting a delayed valueof the digital quadrature-phase (Q) signal from a current value of thedigital quadrature-phase (Q) signal.
 8. The method of claim 7, whereinthe subtracting at steps (d.2) and (d.3) are performed in accordancewith a fixed sampling rate.
 9. The method of claim 7, wherein thesubtracting at steps (d.2) and (d.3) are performed in accordance with avariable sampling rate that ensures that results of the subtracting areat least as large as a threshold value.
 10. The method of claim 1,wherein the light signal, produced in response to the driving at step(a), has a frequency within a range of 1 MHz-50 MHz.
 11. A system,comprising: a driver configured to produce a drive signal that drives alight emitting element to thereby cause a light signal to be emitted; anoptical sensor configured to produce a sensor signal that is indicativeof a portion of the light signal that reflects from one or more objectsand is incident on the optical sensor; a demodulator configured toperform quadrature demodulation of the sensor signal to produce in-phase(I) and quadrature phase (Q) signals; a differentiator configured todetermine derivatives of the in-phase (I) and quadrature phase (Q)signals; and a phase detector configured to determine a phase of thederivatives of the in-phase (I) and quadrature phase (Q) signals. 12.The system of claim 11, wherein when there are one or more movingobjects and one or more static objects within a sensor field of theoptical sensor: the sensor signal produced by the optical sensor and thein-phase (I) and quadrature-phase (Q) signals produced by thedemodulator are indicative of both reflections from the one or moremoving objects and reflections from the one or more static objectswithin the sensor field of the optical sensor; and the derivatives ofthe in-phase (I) and quadrature-phase (Q) signals determined by thedifferentiator are indicative of reflections from one or more movingobjects and are generally not indicative of reflections from one or morestatic objects within the sensor field of the optical sensor.
 13. Thesystem of claim 11, further comprising: circuitry configured to use thephase of the derivatives of the in-phase (I) and quadrature phase (Q)signals to determine at least one of a distance or presence of one ormore moving objects within a sensor field of the optical sensor.
 14. Thesystem of claim 11, further comprising: circuitry configured to use thephase of the derivatives of the in-phase (I) and quadrature phase (Q)signals to calibrate further circuitry configured to determine at leastone of a distance or presence of one or more moving objects based onnon-differentiated in-phase (I) and quadrature phase (Q) signals;wherein the calibration compensates for one or more static objectswithin a sensor field of the optical sensor.
 15. The system of claim 11,wherein the differentiator comprises analog circuitry configured todetermine derivatives of the in-phase (I) and quadrature phase (Q)signals.
 16. The system of claim 15, wherein the differentiator furthercomprises a low pass filter configured to low pass filter outputs of theanalog circuitry configured to determine derivatives of the in-phase (I)and quadrature phase (Q) signals to thereby filter out at least somenoise introduced by the analog circuitry.
 17. The system of claim 11,wherein the differentiator includes: an analog-to-digital converter(ADC) configured to convert the in-phase (I) signal produced by thedemodulator into a digital in-phase (I) signal; an analog-to-digitalconverter (ADC) configured to convert the quadrature-phase (Q) signalproduced by the demodulator into a digital quadrature-phase (Q) signal;circuitry configured to subtract a delayed value of the digital in-phase(I) signal from a current value of the digital in-phase (I) signal; andcircuitry configured to subtract a delayed value of the digitalquadrature-phase (Q) signal from a current value of the digitalquadrature-phase (Q) signal.
 18. The system of claim 17, wherein thecircuitry configured to subtract a delayed value of the digital in-phase(I) signal from a current value of the digital in-phase (I) signal, andthe circuitry configured to subtract a delayed value of the digitalquadrature-phase (Q) signal from a current value of the digitalquadrature-phase (Q) signal, each perform said corresponding subtractionin accordance with a fixed sampling rate.
 19. The system of claim 17,wherein the circuitry configured to subtract a delayed value of thedigital in-phase (I) signal from a current value of the digital in-phase(I) signal, and the circuitry configured to subtract a delayed value ofthe digital quadrature-phase (Q) signal from a current value of thedigital quadrature-phase (Q) signal, each perform said correspondingsubtraction in accordance with a variable sampling rate that ensuresthat results of the subtracting are at least as large as a thresholdvalue.
 20. The system of claim 11, wherein the light signal, produced inresponse to the drive signal, has a frequency within a range of 1 MHz-50MHz.
 21. A subsystem for use with a system that includes a driverconfigured to produce a drive signal that drives a light emittingelement to thereby cause a light signal to be emitted; and an opticalsensor configured to produce a sensor signal that is indicative of aportion of the light signal that reflects from one or more objects andis incident on the optical sensor; wherein the subsystem comprises: ademodulator configured to perform quadrature demodulation of the sensorsignal to produce in-phase (I) and quadrature phase (Q) signals; adifferentiator configured to determine derivatives of the in-phase (I)and quadrature phase (Q) signals; and a phase detector configured todetermine a phase of the derivatives of the in-phase (I) and quadraturephase (Q) signals; wherein when there are one or more moving objects andone or more static objects within a sensor field of the optical sensor,the in-phase (I) and quadrature-phase (Q) signals produced by thedemodulator are indicative of both reflections from the one or moremoving object and reflections from the one or more static objects withinthe sensor field of the optical sensor, and the derivatives of thein-phase (I) and quadrature-phase (Q) signals determined by thedifferentiator are indicative of reflections from one or more movingobjects and are generally not indicative of reflections from one or morestatic objects within the sensor field of the optical sensor.
 22. Thesubsystem of claim 21, further comprising: circuitry configured to usethe phase of the derivatives of the in-phase (I) and quadrature phase(Q) signals to determine at least one of a distance or presence of oneor more moving objects within the sensor field of the optical sensor.23. The subsystem of claim 21, further comprising: circuitry configuredto use the phase of the derivatives of the in-phase (I) and quadraturephase (Q) signals to calibrate further circuitry configured to determineat least one of a distance or presence of one or more moving objectswithin the sensor field of the optical sensor based onnon-differentiated in-phase (I) and quadrature phase (Q) signals;wherein the calibration compensates for one or more static objectswithin the sensor field of the optical sensor.